Draft Trimex/sv

Draft Trimex

Menyplacering
Draft -> Trim/Extend
Arbetsbänkar
Draft, Arch
Standard genväg
T R
Introducerad i version
-
Se även
Part Extrude

Beskrivning

Detta verktyg trimmar/klipper och förlänger linjer och polylines.

A Draft Wire extended and then trimmed.

Trim or extend

Usage

  1. Optionally select one object. The object must be a Draft Line, a Draft Wire, a Draft Arc, a Draft Circle (which can only be trimmed), or a supported BIM object (Wall, Pipe, Structure, Frame, Truss, or a baseless Panel). introduced in 26.3 If the selected object is closed it must have its DataMake Face property set to false.
  2. There are several ways to invoke the command:
    • Press the Trimex button.
    • Draft: Select the Modification → Trimex option from the menu.
    • BIM: Select the Modify → Trimex option from the menu.
    • Use the keyboard shortcut: T then R.
  3. If you have not yet selected an object: select an object in the 3D View.
  4. The Trimex task panel opens. See Options for more information.
  5. Move the pointer in the 3D View so that the preview matches the desired result. If required use the modifier keys as explained in the Options.
  6. Do one of the following:
    • Pick a point in the 3D View.
    • Enter a Distance or an Angle. The distance is a delta distance. This option does not work if modifier keys are used.
    • Move the pointer over an edge belonging to another object, and click when this edge is highlighted, to trim or extend the selected object using an intersection with the highlighted edge as the new endpoint. When trimming, the projection of the point where the cutting edge is selected onto the object to be trimmed, determines the default result. Note that snaps can have an undesirable impact here. In some cases it can be useful to turn them off temporarily.

introduced in 26.3: For supported BIM objects, picking one of the object's end faces trims or extends it by adjusting its length and placement instead of its underlying wire geometry.

Options

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.

Here is an example to explain the modifier keys. The left edge or the bottom edge of the U-shaped wire was extended. All Draft Snaps were turned off.

  • trimning eller förlängning beslutas automatiskt beroende på muspositionen
  • om du flyttar musmarkören över ett annat objekt, så kommer trim/förläng operationen att snäppa till det objektet eller segmentet
  • Nedtryckning av SKIFT kommer att begränsa dig till det segment som för närvarande trimmas eller förlängs
  • Nedtryckning av ALT kommer att invertera trimningens ordning
  • fasning och avrundning stöds inte ännu men är planerat

Extrude

1.1 and below: This command could also extrude a face into a Part Extrude object. This functionality is now a separate command, see BIM ExtrudeFace. introduced in 26.3

Scripting

Skript

There is no Python method to trim objects. To extrude objects use the extrude method of the Draft module.

introduced in 26.3: The extrude method example below remains valid; the GUI equivalent is now BIM ExtrudeFace rather than this command.

extrusion = extrude(obj, vector, solid=False)

Example:

import FreeCAD as App
import Draft

doc = App.newDocument()

rectangle = Draft.make_rectangle(1500, 500)
doc.recompute()

vector = App.Vector(0, 0, 300)
solid = Draft.extrude(rectangle, vector, solid=True)
doc.recompute()